C++Builder Developer's Guide
Chapter 16 - Shared Segmentation DLL Example
Paul Gustavson, 2002

//-------------------------------------------------------------------------------------

The projects within this folder exhibit shared segmentation through a DLL.

The folder contains the following projects:

Inventory.bpr   - C++Builder Project that creates a DLL that supports shared segmentation
InventoryVC.dsw - Visual C++ project that creates a DLL that supports shared segmentation
Factory.bpr     - C++Builder Project that creates an application that uses either DLL
Dealership.bpr  - C++Builder Project that creates an application that uses either DLL 

//-------------------------------------------------------------------------------------

By default, the Borland C++ DLL (Inventory.dll) will be used by the Factory and Dealership 
applications.  To utilize the Visual C++ DLL (InventoryVC.dll), either comment out the
VISUALCPP_DLL compile time constant in both FactoryForm.cpp and DealershipForm.cpp and 
rebuild these applications, or rename the InventoryVC.dll to Inventory.dll


When you build the Visual C++ InventoryVC.dll, it will be saved within the Debug folder.  
Simply copy this file to the folder that contains the Factory.exe and Dealership.exe files.

To run the demonstration, start by launching the Factory.exe application.  A button is 
provided on the form to launch the Dealership.exe application.
